package de.derhess.projects.pkr.models
{
	import flash.events.Event;
	import flash.events.EventDispatcher;
	
	/**
	 * released under MIT License (X11)
	 * http://www.opensource.org/licenses/mit-license.php
	 * 
	 * Class  PKRBaseData is the Value Object for the base values of the Prozesskostenrechner
	 * 
	 * @author Florian Weil [derhess.de, Deutschland]
	 * @see http://blog.derhess.de
	 */
	[Bindable]
	public class PKRBaseData extends EventDispatcher
	{
		//--------------------------------------------------------------------------
		//
		//  Class variables
		//
		//--------------------------------------------------------------------------
		
		//--------------------------------------------------------------------------
		//
		//  Variables
		//
		//--------------------------------------------------------------------------
		
		//--------------------------------------------------------------------------
		//
		//  Initialization
		//
		//--------------------------------------------------------------------------
		public function PKRBaseData()
		{
			
		}
		
		
		
		//--------------------------------------------------------------------------
		//
		//  Properties
		//
		//--------------------------------------------------------------------------
		public var valueInDispute:Number; // Streitwert
		public var rateVAT:Number; // Mehrwertsteuer
		public var lawyerFee:Number; // RVG Gebuehr
		public var courtFee:Number; // GKG Gerichtskosten Gebuehr
		public var amountClients:int; // Anzahl eigene Clienten
		public var amountEnemyClients:int; // Anzahl Gegner
		
		//--------------------------------------------------------------------------
		//
		//  Additional getters and setters
		//
		//--------------------------------------------------------------------------
		
		
		
		//--------------------------------------------------------------------------
		//
		//  Methods
		//
		//--------------------------------------------------------------------------
		override public function toString():String 
		{
			return "[PKRBaseData] : " + "valueInDispute: " +valueInDispute + ", rateVAT: "+  rateVAT + ", lawyerFee: " +lawyerFee + ", courtFee: " +courtFee + ", amountClients: " + amountClients + ", amountEnemyClients: " + amountEnemyClients;	
		}
		//--------------------------------------------------------------------------
		//
		//  API
		//
		//--------------------------------------------------------------------------
		
		
		
		//--------------------------------------------------------------------------
		//
		//  Eventhandling
		//
		//--------------------------------------------------------------------------
		
		
		//--------------------------------------------------------------------------
		//
		//  Broadcasting
		//
		//--------------------------------------------------------------------------
		
		
	}
}